projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4a0f59
)
(justify-current-line): Delete space at end of line.
author
Richard M. Stallman
<rms@gnu.org>
Wed, 27 Jul 1994 20:09:22 +0000
(20:09 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Wed, 27 Jul 1994 20:09:22 +0000
(20:09 +0000)
lisp/textmodes/fill.el
patch
|
blob
|
history
diff --git
a/lisp/textmodes/fill.el
b/lisp/textmodes/fill.el
index 863b1e7c6e3587a45a32941073a3ebe748682158..36cb5c6b52c5977704ab4b97dd8a41f52c1c31eb 100644
(file)
--- a/
lisp/textmodes/fill.el
+++ b/
lisp/textmodes/fill.el
@@
-272,7
+272,7
@@
space does not end a sentence, so don't break a line there."
(interactive)
(save-excursion
(save-restriction
- (let (ncols beg indent)
+ (let (ncols beg indent
end
)
(beginning-of-line)
(forward-char (length fill-prefix))
(skip-chars-forward " \t")
@@
-280,6
+280,9
@@
space does not end a sentence, so don't break a line there."
(setq beg (point))
(end-of-line)
(narrow-to-region beg (point))
+ (setq end (point))
+ (skip-chars-backward " \t")
+ (delete-char (- end (point)))
(goto-char beg)
(while (re-search-forward " *" nil t)
(delete-region